home *** CD-ROM | disk | FTP | other *** search
- /* $VER: HTMLEXT Modul: ppaint.mod V 0.1.2 by Juan Manuel Wehrli 1999
- Voraussetzung: PPaint V7.x
- */
-
-
- if ~show("L",rexxreqtools.library) then do
- call addlib("rexxreqtools.library",0,-30,0)
- end
- if ~show("L",rexxtricks.library) then do
- call addlib("rexxtricks.library",0,-30,0)
- end
-
- NL = '0a'x
-
- PARSE ARG befehl file
- OPTIONS RESULTS
-
- ADDRESS COMMAND
- if befehl = OPEN then do
- if ~show('P','PPAINT') then do
- 'c:WBrun <>NIL: PPAINT:PPAINT'
- 'sys:rexxc/WaitForPort PPAINT'
- end
- ADDRESS PPAINT
- file = STRIP(file)
- LOADIMAGE file
- end
-
-
- if befehl = OPENNEW then do
- if ~show('P','PPAINT') then do
- 'c:WBrun <>NIL: PPAINT:PPAINT'
- 'sys:rexxc/WaitForPort PPAINT'
- end
- ADDRESS PPAINT
-
- file = STRIP(file)
- LOADIMAGE '"' || file || '"'
- end
-
- if befehl = OPENNEWS then do
- if ~show('P','PPAINT') then do
- 'c:WBrun <>NIL: Photogenics:Photogenics'
- 'sys:rexxc/WaitForPort PPAINT'
- end
- ADDRESS PPAINT
- PGSTOFRONT
- LOADIMAGE '"' || file || '"'
- end
-
-